<div class="modal-header">
    <h4 class="modal-title">剪切图片</h4>
</div>

<div class="modal-body text-center">
    <div class="row">
        <div class="col-xs-12">
        <div class="cropArea">
            <img-crop image="myImage" result-image="croppedImage" area-type="square" [result-image-quality="1"  result-image-size="200"></img-crop>
        </div>
        <div>剪切后:</div>
        <div><img ng-src="{{croppedImage}}" /></div>
        </div>
    </div>
</div>

<div class="modal-footer">
    <button class="btn btn-success" type="button" ng-click="ok()">确定</button>
    <button class="btn btn-danger" type="button" ng-click="cancel()">取消</button>
</div>





